how to get structure of table in codeigniter

75

$fields = $this->db->list_fields('table_name');
foreach ($fields as $field)
{
   echo $field;
}

Comments

Submit
0 Comments